<%@include file="../includes/tag.jsp" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<form:form name="company_edit" action="" commandName="company">
	<div id="companyedit-tabs" class="idTabs" style="margin-top:4px;margin-left:5px;margin-right:5px;">
		<ul class="tabul">
			<li><a href="#company_base">基本信息</a></li>
			<li><a href="#contact_info">联系人信息</a></li>
		</ul>	
			<div id="company_base" style="height:336px;">
				<table width="100%" align="center" cellpadding="0" cellspacing="8">
					<tr>
						<td align="right">单位编码：</td>
						<td>
							<form:input path="id" size="30" cssClass="text"/>
						</td>		
					</tr>
					<tr>
						<td align="right">单位名称：</td>
						<td>
							<form:input path="name" size="40" cssClass="text"/>
						</td>	
					</tr>
					<tr>
						<td align="right">快捷码：</td>
						<td>
							<form:input path="pinyin" size="40" cssClass="text"/>
						</td>	
					</tr>
					<tr>
						<td align="right">单位地址：</td>
						<td>
							<form:input path="address" size="40" cssClass="text"/>
						</td>	
					</tr>
					<tr>
						<td align="right">邮政编码：</td>
						<td>
							<form:input path="postalCode" size="30" cssClass="text"/>
						</td>	
					</tr>
					<tr>
						<td align="right">单位网址：</td>
						<td>
							<form:input path="companyUrl" size="40" cssClass="text"/>
						</td>	
					</tr>
					<tr>
						<td align="right">当前状态：</td>
						<td>
							<form:radiobutton path="status" label="正常" value="normal" />
							<form:radiobutton path="status" label="不可用" value="disabled"/>
						</td>	
					</tr>
					<tr>
						<td align="right">公司简介：</td>
						<td>
							<form:textarea path="text" cols="50" rows="4" cssClass="textarea"/>
						</td>
					</tr>
				</table>
			</div>
			<div id="contact_info" style="height:336px;">
				<table width="100%" align="center" cellpadding="0" cellspacing="8">
					<tr>
						<td align="right">联系人：</td>
						<td>
							<form:input path="contact" size="30" cssClass="text"/>
						</td>
					</tr>
					<tr>
						<td align="right">联系电话：</td>
						<td>
							<form:input path="contactPhone" size="30" cssClass="text"/>
						</td>
					</tr>
					<tr>
						<td align="right">Email地址：</td>
						<td>
							<form:input path="email" size="30" cssClass="text"/>
						</td>
					</tr>
					<tr>
						<td align="right">QQ号码：</td>
						<td>
							<form:input path="qq" size="30" cssClass="text"/>
						</td>
					</tr>
					<tr>
						<td align="right">MSN号码：</td>
						<td>
							<form:input path="msn" size="30" cssClass="text"/>
						</td>
					</tr>
					<tr>
						<td align="right">旺旺号码：</td>
						<td>
							<form:input path="aliwangwang" size="30" cssClass="text"/>
						</td>
					</tr>
					
				</table>
			</div>
		
	</div>
</form:form>